package com.treetao.union.db.model;

import com.treetao.union.db.model.base.TTBaseVO;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * <p>
 * 秒杀活动
 * </p>
 *
 * @author Dev.M
 * @since 2020-05-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("mall_skill")
public class MallSkill extends TTBaseVO<MallSkill> {

    private static final long serialVersionUID = 1L;

    /**
     * 活动名称
     */
	private String name;
    /**
     * 开始时间
     */
	@TableField("startTime")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
	private Date startTime;
    /**
     * 结束时间
     */
	@TableField("endTime")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
	private Date endTime;



}
